package com.woniu.shop.service;

import com.woniu.entity.PageResult;
import com.woniu.entity.Result;
import com.woniu.shop.entity.dto.QueryServiceDTO;
import com.woniu.shop.entity.dto.StoreServiceDTO;
import com.baomidou.mybatisplus.extension.service.IService;
import com.woniu.shop.pojo.StoreService;

import java.util.List;

/**
 * <p>
 * 门店服务表 服务类
 * </p>
 *
 * @author LiFangyu
 * @since 2023-02-15
 */
public interface IStoreServiceService extends IService<StoreService> {

    Result addService(StoreServiceDTO storeServiceDTO,String status);

    Result updateStatus(String id, String status);

    List<StoreService> queryByType(String id);


    PageResult<StoreService> queryServiceByShop(Integer currentPage, Integer currentSize, QueryServiceDTO queryServiceDTO);

    StoreService getService(String id);
}
